package com.union.controller.app.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "文本处理请求参数")
@Data
public class TextProcessReqVO {

    @Schema(description = "请求文本内容", example = "查询商品信息")
    @NotBlank(message = "请求文本内容不能为空")
    private String request;

    @Schema(description = "用户OpenId", example = "oXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
    @NotBlank(message = "用户OpenId不能为空")
    private String openId;

    @Schema(description = "用户类型", example = "1")
    @NotNull(message = "用户类型不能为空")
    private Integer userType;
}
